﻿using FluentNHibernate.Mapping;
using Jarvis.Server.Domain;

namespace Jarvis.Server.NHibernate
{
    public class LocationCategoryMap : ClassMap<LocationCategory>
    {
        public LocationCategoryMap()
        {
            Id(x => x.Id).GeneratedBy.GuidComb();
            Map(x => x.Name).Not.Nullable();
        }
    }
}
